
from PySide2.QtWidgets import QApplication
from PySide2.QtGui import QIcon
from app.app import App
from qt_material import apply_stylesheet# create the application and the main window
import qdarkstyle

if __name__ == "__main__":
    print('启动程序')
    QApplication.setStyle("motif")

    app = QApplication([])
    # apply_stylesheet(app, theme='dark_custom.xml')# run
    # apply_stylesheet(app, theme='light_cyan_500.xml')# run
    # app.setStyleSheet(qdarkstyle.load_stylesheet_pyside2())



    app.setWindowIcon(QIcon('png\logo.png'))
    window = App()
    
    app.exec_()
